package com.ruoyi.group.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.group.domain.BusGoods;
import com.ruoyi.group.domain.GoodsCategory;
import com.ruoyi.group.domain.vo.GoodsCategoryVo;
import org.apache.ibatis.annotations.Param;

/**
 * 物品分类信息Mapper接口
 *
 * @author ruoyi
 * @date 2022-11-27
 */
public interface GoodsCategoryMapper extends BaseMapper<GoodsCategory> {

  /**
   * 查询物品分类信息列表
   *
   * @param goodsCategory 物品分类信息
   * @return 物品分类信息集合
   */
   List<GoodsCategory> selectGoodsCategoryList(GoodsCategory goodsCategory);
   List<GoodsCategoryVo> selectList(GoodsCategoryVo goodsCategory);

    int removeGoodsByIds(String  busiPath);

    void updategoods(@Param("id") Long id, @Param("parentId")Long parentId);

    void removegood(@Param("ids") List<Long> ids,@Param("parentId")Long parentId);

 List<GoodsCategory> selectBybusiPath(String busGoods);
}
